/*
 * find the maximun of two numbers, should not use if-else
 */
class MaxWithoutIf{
	public static int getMax(int a, int b){
		int c = a - b; // c >0 or c <0
		int flag = c>>31 & 0x1; // 1 or 0
		int max = a - flag*c;
		return max;
	}
	
	public static void main(String[] args){
		System.out.println(getMax(4,9));
	}
}